package com.module.third;

import android.content.Context;

import com.umeng.commonsdk.BuildConfig;
import com.umeng.commonsdk.UMConfigure;

/**
 * @author bsnl_yanxuwen
 * @date 2021/5/11 15:25
 * Description :
 * 友盟初始化
 */
public class UMUtils {
    public static void init(Context context, String umId, String chanel) {
        UMConfigure.init(context, umId, chanel, UMConfigure.DEVICE_TYPE_PHONE, "");
        if (BuildConfig.DEBUG) {
            UMConfigure.setLogEnabled(true);
        }
    }
}
